import { ShowType } from '@/enums/constEnums'

/**
 * @description 获取产品黏性-直访率数据
 */
export interface DirectRateInterfaceRes {
  type?: ShowType
  date: string
  hourlyDirectRate: number
  dailyDirectRate: number
}

/**
 * @description 获取产品黏性-跳出率数据
 */
export interface BounceRateInterfaceRes {
  type?: ShowType
  date: string
  hourlyBounceRate: number
  dailyBounceRate: number
}

/**
 * @description 获取产品黏性-人均页面浏览量PV
 */
export interface PagesPerVisitInterfaceRes {
  type?: ShowType
  date: string
  hourlyPagesPerVisit: number
  dailyPagesPerVisit: number
}
/**
 * @description 获取产品黏性-平均访问时长
 */
export interface AverageVisitTimeInterfaceRes {
  type?: ShowType
  date: string
  hourlyAverageVisitTime: number
  dailyAverageVisitTime: number
}
/**
 * @description 获取产品黏性-用户生命周期
 */
export interface UserLifeTimeInterfaceRes {
  type?: ShowType
  date: string
  hourlyUserLifeTime: number
  dailyUserLifeTime: number
}

/**
 * @description 获取产品黏性-最高同时在线人数
 */
export interface MaxConcurrentUsersInterfaceRes {
  type?: ShowType
  date: string
  hourlyMaxConcurrentUsers: number
  dailyMaxConcurrentUsers: number
}
